home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 3 / Light ROM 3 - Disc 2.iso / programs / amiga / misc / demmer / readme < prev   
Text File  |  1995-03-23  |  7KB  |  201 lines

  1. DEMMER2 
  2. (c) COPYRIGHT 1992-1993 Bill McCarter All Rights Reserved
  3.  
  4. Legal:
  5.  
  6.    This program is CRIPPLEWARE. Copy it and distribute it to your
  7. friends, as long as you include all the files that are in the
  8. archive file DEMMER2.lha. I will not allow anyone to make a
  9. profit from this program, except a modest charge for copying and
  10. media, such as the Fred Fish collection.
  11.    The program is fully operational except this public version
  12. will not load compressed DEM files, so it will not edit VISTA
  13. files that you already have.
  14.    If you do register you'll receive a fully working version
  15. that includes the ability to load
  16. compressed DEM files. You also will be on the list for any of the
  17. other software titles that we have on the go or that have been
  18. produced already.
  19.  
  20.  
  21. PURPOSE:
  22.  
  23.     The purpose of this utility is to be able to take an IFF
  24. graphic and transform it to a format readable by VISTAPRO. I
  25. wanted to have a freeform method to produce landscapes and to
  26. have an easy way to digitize topo maps rather than relying on
  27. someone else to supply me with USGS data. VISTAPRO provides an
  28. excellent engine for the development of realistic landscape
  29. images.
  30.    There are also a few extra features that I added to provide
  31. some image processing to smooth out transitions.
  32.  
  33. HOW IT WORKS:
  34.  
  35.    Any IFF graphic of any resolution may be used, in any
  36. screensize as long as you have the chip ram. Even Brushes may be
  37. used. Other numbers of colours than 64 work but I don't recommend
  38. to use them. 64 colour halfbright ILBM's produce the best results
  39. and HAM works but the effects are unperdictable.
  40.  If you are serious about graphics then
  41. you owe it to yourself to get a program like Pixmate or ADPro
  42. anyway to do any format conversions.
  43.    The image is automatically scaled to a 258 X 258 array and
  44. then converted. The elevations are taken from the colours
  45. themselves, with palette 0 being the minimum elevation and
  46. palette 63 being the maximum. This provides 64 steps in elevation
  47. for the image which should be enough for most applications. If
  48. not, there are a few processing functions that I have provided to
  49. smooth out the transitions.
  50.     I did supply a colourmap palette in the output file so when
  51. you use the landscape file in Vistapro you will have a palette.
  52.  
  53. OPERATION:
  54.  
  55.    The program starts with a requester screen with gadgets for
  56. all the available commmands.
  57.  
  58.  
  59. GADGETS:
  60.  
  61. QUIT:
  62.  
  63.     This should be rather obvious.
  64.  
  65. LOAD ILBM:
  66.  
  67.     This command will present you with the standard AMOS requester so that
  68. you can choose the ILBM that you want to convert. The ILBM is then converted
  69. to the internal format for processing.
  70.  
  71. LOAD DEM:
  72.  
  73.     This will present you with the standard AMOS requester so that you can
  74. choose a Vista DEM file to edit. ( Not supported in the Shareware version. )
  75.  
  76. SAVE DEM:
  77.  
  78.     This saves the internal format ILBM into a VISTA DEM file. This file
  79. is not compressed, if you want it to work properly in all instances in
  80. VISTAPRO load it into VISTAPRO and save it out again.
  81.  
  82. CONTOUR:
  83.  
  84.     This is probably the most usefull feature of this program. This will
  85. present you with the standard requester so that you can load in a contour
  86. ILBM. Load in the example ILBM "TUTOR_ILBM" and watch and wait. The way to
  87. make your own contour map is to start a Extra Halfbrite picture on a paint
  88. program such as Deluxe Paint. This pic can be as large as you want. I usually
  89. make one about 640 X 640 although any square size is legitimate. Colour 0
  90. is used for the background and colour 1 is used for the grid. I then draw
  91. in the contours using the UTM grid as a guideline. One only needs to draw
  92. in every fifth line or so and the program will fill in the spaces. This is
  93. a very fast way to create your own map.
  94.  
  95. CUT 514:
  96.  
  97.     This will take an ILBM and cut it into 4 parts so that it is easier to
  98. create dems in the Large and Huge formats. The parts are resaved with the
  99. suffixs 1, 2, 3, 4 into the same directory that the original ILBM was called.
  100.  
  101. FILENAME:
  102.  
  103.     Click in tis box to acitvate it and then enter the name of
  104. your file. The default name is ILBMPIC.
  105.  
  106. COMMENT:
  107.  
  108.     Click in this box to enter any comments you want saved with
  109. the file.
  110.  
  111. MAXIMUM ELEVATION:
  112.  
  113.     Enter the maximum elevation encountered in your map, this is
  114. in meters and will not be accepted for values over 16000.
  115.  
  116. MINIMUM ELEVATION:
  117.  
  118.     Enter the minimum elevation, this is in meters and will not
  119. be accepted below 0.
  120.  
  121. SCALE:
  122.  
  123.     This is the measure of the side of your ILBM in meters. If
  124. your picture represents an area 10 KM X 10 KM then enter 10000
  125. into scale.
  126.  
  127. IMAGE PROCESSING:
  128.  
  129.     NONE:
  130.          This is the fastest processing and results in discrete
  131. steps.
  132.  
  133.     LINEAR:
  134.          This takes a very long time and smooths out the
  135. transitions the most. The more complex the picture the faster it
  136. works as it searches the IFF for changes in elevation and does a
  137. linear interpolation. It works faster now as I use integer math.
  138. I'm working on another algorithm to make a smoother result and
  139. this will be included in the registered version. This works best if
  140. called twice. 
  141.  
  142.     3X3
  143.          This looks at a 3 by 3 matrix and inserts the average
  144. value into the center. The arrows adjust the center weight so
  145. you can vary the effect the surrounding pixels have. A value of 0
  146. has the most smoothing effect and 99 the least.
  147.  
  148.     5X5
  149.          This looks at a 5 by 5 matrix and inserts the average
  150. value into the center. The arrows adjust the center weight so
  151. you can vary the effect the surrounding pixels have. A value of 0
  152. has the most smoothing effect and 99 the least.
  153.  
  154.     DO SMOOTHING:
  155.  
  156.     Once you are happy with the settings selecting DO SMOOTHING will
  157. start the image processing.
  158.  
  159.  
  160.     MANUAL EDIT:
  161.  
  162.     This opens up a whole new screen where you can adjust the DEM
  163. pixel by pixel. This new screen is a super bitmap and may be
  164. scrolled around in by moving the mouse to where you want to go. 
  165.  
  166.     EXIT:
  167.  
  168.     This will return you to the operations screen.
  169.  
  170.     The left side of the screen has a column of all the screen
  171. colours in order from 0 at the bottom to 63 at the top. 
  172.    On the bottom is a zoom box to show the colours under the
  173. pointer. If you click on a spot on the map the values within the
  174. yellow square on the zoom box are presented. Click on these
  175. boxes to change the individual elevation values. You have to
  176. press return for the value to be accepted.
  177.  
  178. MULTITASKING:
  179.  
  180.    This program multitasks well. To toggle to and from workbench
  181. press Left Amiga-A. To kill the program at any time type
  182. Control-C.
  183.  
  184.    If you like this or if you would like anything else in the
  185. programming line in C, assembly or AMOS or have an interest in
  186. mining and mineral processing or design engineering, including
  187. digital design please drop me a line to:
  188.  
  189. GYRUS SOFTWARE GROUP
  190. Bill McCarter
  191. P.O. Box 250
  192. LILLOOET, BRITISH COLUMBIA,
  193. CANADA,
  194. V0K 1V0 
  195. or COMPU$ERVE 72570,3622.
  196.  
  197. VISTAPRO (C) is a COPYRIGHT of Virtual Reality Laboratories,Inc
  198. Pixmate (c) is a COPYRIGHT of Progressive Peripherals Inc AMOS
  199. (c) is a Copyright of Mandarin Jawx and is a fantastic way to
  200. access the power of the Amiga.
  201.